package com.framework.entity.work;

import com.baomidou.mybatisplus.annotations.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 功能描述: 终端转移
 *
 * @author ck
 * @date 2018/10/25 17:19
 */
@Data
@ApiModel(value = "WorkTransfer")
public class WorkTransfer {
	/**
	 *主键id
	 */
	@TableId
	@ApiModelProperty(hidden = true)
	private Long transferId;
	/**
	 * 接收人id
	 */
	@ApiModelProperty(hidden = true)
	private Long acceptId;
	/**
	 * 接收人
	 */
	@ApiModelProperty(value = "接收人姓名" ,required = true)
	private String acceptName;
	/**
	 * 当前所属人id
	 */
	@ApiModelProperty(hidden = true)
	private Long thisAgentId;
	/**
	 * 当前所属人姓名
	 */
	@ApiModelProperty(value = "当前所属人姓名" ,required = true)
	private String thisAgentName;
	/**
	 * 终端号SN
	 */
	@ApiModelProperty(value = "内容" )
	private String	sn;

	/**
	 * 录入时间
	 */
	@ApiModelProperty(hidden = true)
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**
	 * 1:未处理 2：处理完成 3：处理失败
	 */
	@ApiModelProperty(hidden = true)
	private Integer isSolve;
}
